package com.ecut.property_project.mapper.base;

import com.ecut.property_project.model.base.BaseCompany;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BaseCompanyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BaseCompany record);

    int insertSelective(BaseCompany record);

    List<BaseCompany> selectAll();

    List<BaseCompany> selectByPage(Integer page, Integer pageSize);

    BaseCompany selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BaseCompany record);

    int updateByPrimaryKey(BaseCompany record);

    String selectByName(String company);
}